import numpy as np
import matplotlib.pyplot as plt


x = np.linspace(0,10,20)
y = np.arange(0,20)
z = x ** 2 + y ** 2

fig,ax = plt.subplots(subplot_kw={"projection": "3d"})

ax.plot(x,y,z,'r-')

plt.show()